package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ShoppingTrolley;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

//查询购物车
public interface IShoppingTrolleyService {

    void saveOrUpdate(ShoppingTrolley u);//保存用户订单
    PageInfo<ShoppingTrolley> query(QueryObject qo);//分页查询购物车

    PageInfo<ShoppingTrolley> selectShoppingsById(Long id,QueryObject qo);//查询对应用用户的购物车


    void bathchDelete(Long[] ids);//批量删除


    List<ShoppingTrolley> bathchGet(Long[] ids);

    void deleteShoppingById(Long id);

}
